package xyz.sxcloud.gkcrm.system.service;

import com.github.pagehelper.PageHelper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import xyz.sxcloud.gkcrm.system.entity.ScBasicInfo;
import xyz.sxcloud.gkcrm.system.entity.UserAccount;
import xyz.sxcloud.gkcrm.system.mapper.ScBasicInfoMapper;
import xyz.sxcloud.gkcrm.system.mapper.UserAccountMapper;

import java.util.List;
@Service
public class ScBasicInfoServiceImpl implements ScBasicInfoService {

    @Autowired
    private ScBasicInfoMapper scBasicInfoMapper;
    /**
     * 分页查询高校信息
     *
     * @param page
     * @param size
     * @return ScBasicInfoList
     */
    @Override
    public List<ScBasicInfo> querySCInfoListByPage(Integer page, Integer size) {
        PageHelper.startPage(page,size);
        return scBasicInfoMapper.querySCInfoListByPage();
    }
}
